/**************************************************************************************
 *
 * @(#) JwtAuthenticationException.java
 * @Package com.jgdt.jgdtkasannong_university_gene_backend.common.err
 **************************************************************************************/
package com.jgdt.jgdtkasannong_university_gene_backend.common.example.custom;

/**
 * @description: 自定义异常
 * @author: huangAn
 * @createDate: 2025/04/18
 */
public class AuthenticationException extends org.springframework.security.core.AuthenticationException {

    private final String code;

    public AuthenticationException(String code, String message) {
        super(message);
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}


